package com.zys.el.time.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zys.el.time.entity.AbsorbedTarget;
import com.zys.el.time.entity.Target;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;


public interface AbsorbedTargetMapper extends BaseMapper<AbsorbedTarget> {
    /**
     * absorbed_target右连接target_
     *
     * @param userId    用户id
     * @param startDate 日期上区间
     * @param endDate   日期下区间
     * @return Target列表
     */
    List<Target> getListByAbTargetRightJoinDeal(@Param("userId") Long userId,
                                                @Param("startDate") LocalDate startDate,
                                                @Param("endDate") LocalDate endDate);
}




